<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Use differential mixing</title>
  </head>
  <body>
    <div id="app">
      <video
        class="video-bg"
        loop
        autoplay
        muted
        src="https://tactusmarketing.com/wp-content/uploads/tactus-waves-hero-sm.mp4"
      ></video>
      <!-- <video
        class="video-bg"
        loop
        autoplay
        muted
        src="/mask-video.mp4"
      ></video> -->
      <div class="container">
        <h1 class="title">Effect introduction</h1>
        <p class="content">
          <span>
            differential color mixing is used to make the video a background
            without affecting the presentation of the text
          </span>
        </p>
      </div>

      <dialog id="tips-model">
        <h2>提示</h2>
        <p>抱歉，视频资源加载失败了，请刷新重试，如果多次重试失败请自行clone项目到本地修改视频地址查看效果</p>
        <button id="closeDialogButton">确 认</button>
      </dialog>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
